Skip to content

Conversation

@LeChatP
Copy link
Owner

@LeChatP LeChatP commented Jan 22, 2026

This pull request updates the project version to 3.3.2 throughout the codebase and introduces support for glob patterns in Landlock whitelist paths. The most significant functional change is the addition of the glob crate and its integration into the Landlock API, allowing path patterns in whitelists to be expanded automatically.

Landlock feature improvements:

  • Add the glob crate as an optional dependency and include it in the landlock feature group in Cargo.toml. [1] [2]
  • Import the glob crate in src/sr/finder/api/landlock.rs to enable globbing functionality for path whitelists.
  • Update the Landlock API to support glob patterns in whitelist paths: when a whitelist entry contains a glob pattern, all matching paths are added as rules; if glob expansion fails, the original path is used as a fallback.

@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

❌ Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.62%. Comparing base (3a9885b) to head (4368869).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/sr/finder/api/landlock.rs 0.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #89      +/-   ##
==========================================
- Coverage   74.76%   74.62%   -0.14%     
==========================================
  Files          36       36              
  Lines        5135     5143       +8     
==========================================
- Hits         3839     3838       -1     
- Misses       1296     1305       +9     
Flag Coverage Δ
admin-unittests 74.62% <0.00%> (-0.14%) ⬇️
unittests 74.58% <0.00%> (-0.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LeChatP LeChatP merged commit 5dfa43c into main Jan 22, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants